package com.liuyang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author 作者:caleb
 * @since 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Materials implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资ID
     */
    private String id;

    /**
     * 求助者姓名
     */
    @TableField("peopleName")
    private String peopleName;

    /**
     * 求助者联系方式
     */
    @TableField("peopleTel")
    private String peopleTel;

    /**
     * 所在地
     */
    @TableField("peopleAddress")
    private String peopleAddress;

    /**
     * 灾难类型
     */
    @TableField("disasterType")
    private String disasterType;

    /**
     * 需求类型
     */
    @TableField("demandType")
    private String demandType;

    /**
     * 帮助类型
     */
    @TableField("helpType")
    private String helpType;

    /**
     * 申请时间
     */
    @TableField("applicationTime")
    private String applicationTime;

    // 表示该属性不为数据库表字段，但又是必须使用的
    @TableField(exist = false)
    private List<Materialsimg> materialsimgs;

    @TableField(exist = false)
    private List<Disasterimg> disasterimgs;

    /**
     * 申请者ID
     */
    @TableField("applicantId")
    private String applicantId;

    /**
     * 帮助者ID
     */
    @TableField("helperId")
    private String helperId;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 审核意见
     */
    @TableField("checkIdea")
    private String checkIdea;

    /**
     * 求助备注
     */
    @TableField("remark")
    private String remark;

}
